package cn.edu.cug.cs.gtl.apis.render.callbacks;

import cn.edu.cug.cs.gtl.apis.render.PickedPoint;
import cn.edu.cug.cs.gtl.apis.render.paths.Path;

public interface SelectionPickCallback extends Callback{
    @Override
    default void invoke(Object userData){
        if(userData instanceof PickedPoint){
            invokePickedPoint((PickedPoint) userData);
        }
    }
    void invokePickedPoint(PickedPoint p);
}
